package com.djx.commons.error.error;

import com.djx.commons.response.ResultCode;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor //自定义异常类
public class CommonException extends Exception {

    private ResultCode resultCode;


    public CommonException(ResultCode resultCode){
        this.resultCode = resultCode;
    }
}
